home *** CD-ROM | disk | FTP | other *** search
/ Software Vault: The Gold Collection / Software Vault - The Gold Collection (American Databankers) (1993).ISO / cdr11 / pcv05n12.zip / QFORM.DOC < prev    next >
Text File  |  1993-06-10  |  5KB  |  88 lines

  1. QFORM                December 1992            William Barden, Jr.
  2. -----------------------------------------------------------------
  3. Purpose:       QFORM.BAS is a QBasic program that helps you
  4.                design forms and dialog boxes.
  5.  
  6. Format:        QBASIC /RUN QFORM.BAS
  7.  
  8. Remarks:       Load the program as shown above. The screen will
  9.                clear, and you will see a cursor in the upper
  10.                left-hand corner.  It will blink to show that the
  11.                program is running.
  12.  
  13.                To navigate about the screen, use any of the arrow
  14.                keys.  The cursor will move with each keypress as
  15.                long as it's moving within the parameters of the
  16.                program's page.
  17.  
  18.                The program's screen shows 24 lines of the form at
  19.                any given time. You cannot scroll beyond the 80-
  20.                character width to the left or the right of the
  21.                screen, but you can scroll down to the next segment
  22.                of the form. A complete form may have up to 66 lines
  23.                and is divided into three horizontal segments, each
  24.                up to 22 lines deep.  As you move the cursor to
  25.                the bottom of the screen, the next segment of the
  26.                page pops up and the cursor zooms from the bottom 
  27.                of the screen to the top. This is not a bug, but 
  28.                a feature. Since each screen can display 24 lines,
  29.                and each segment of the page is 22 lines, there's 
  30.                some overlap which serves as a useful guide when
  31.                you're positioning lines on a form.
  32.  
  33.                When you start the program, you move the cursor
  34.                solely to navigate; but entering single-letter
  35.                commands, you can use the cursor to draw double
  36.                lines onscreen.  Press P (for pen-down mode), and
  37.                press any of the arrow keys to add the lines to
  38.                the screen. When you press a different arrow key
  39.                to change the direction of the line, the program
  40.                will select the appropriate ASCII intersection
  41.                character such as a double-line corner. The 
  42.                intersections that the program inserts are more
  43.                sophisticated than mere corners, however. You'll
  44.                notice that whenever you cross a vertical line
  45.                with a horizontal one, or vice versa, QFORM
  46.                automatically makes a cross-line segment. You 
  47.                can also draw a line perpendicular to an existing
  48.                line, forming a T-line segment.
  49.  
  50.                Since it's extremely unlikely that you will get
  51.                through a drawing session without making any
  52.                mistakes, there's a need for the ability to
  53.                delete, a function the C key is programmed to
  54.                handle. If you make a mistake, press the C key
  55.                to clear the character at the current cursor
  56.                position. To clear multiple characters, 
  57.                alternately press C and the appropriate arrow
  58.                key.
  59.  
  60.                Because drawing only connected lines is restric-
  61.                tive, QFORM has a pen-up mode that restores your
  62.                ability to move the cursor without drawing lines.
  63.                Press the cursor without drawing lines. Press the
  64.                P key a second time to lift the figurative pen from
  65.                the screen and to move the cursor without leaving
  66.                a trail. The pen-up mode stays in force until you
  67.                press it again to begin drawings.
  68.  
  69.                To save the form you're currently working on to
  70.                your hard disk, press W (for write mode). On the
  71.                bottom line of the screen, the message "Save file
  72.                as (press Enter to cancel):" will appear. To save
  73.                the file to disk, enter a filename (including a
  74.                path) to save the file to a different directory
  75.                and press Enter. If you've pressed the W key by
  76.                accident, simply press Enter on a blank line to 
  77.                return to the screen.
  78.  
  79.                Once you've finished with a QFORM session, press
  80.                X to exit and the program will return you to the
  81.                DOS prompt.
  82.  
  83.                Files created with QFORM are pure ASCII files that
  84.                can be processed by most other word processors and
  85.                text editors.
  86.  
  87.              
  88.